package cn.lxh.service;

import cn.lxh.pojo.domain.DriverPoint;
import cn.lxh.pojo.dto.DriverPointDto;

import java.util.List;

/**
 * @author lxh Create Time: 2024/1/11 15:07
 * IDriverPointService接口
 */
public interface IDriverPointService {
    /**
     * 新增司机坐标
     * @param point
     */
    void save(DriverPoint point);

    /**
     * 根据订单号查询司机坐标
     * @param orderNo
     * @return
     */
    List<DriverPoint> selectByOrderNo(String orderNo);

    /**
     * 司机坐标保存到HBase
     * @param driverPointDto
     * @return
     */
    Object driverLocationToHBase(DriverPointDto driverPointDto);
}
